package  imu.ming.spring.controller;

import  org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import  org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class HelloController {
    @RequestMapping(value = "/hello")
    public  String  hello(){

        return  "hello";
    }

    @RequestMapping(value = "/main")
    public  String  main(){

        return  "main";
    }

//    @GetMapping(value = "main")
//    public String  main(){
//        return "main";
//    }


}
